Section 28. Rights of the convicted. Laws for the punishment of crime shall be founded on the principles of prevention and reformation. Full rights are restored by termination of state supervision for any offense against the state.